package com.wing.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.product.model.entity.WarehouseProductionSchedulingPlan;
import com.wing.product.model.response.WarehouseProductionOrderVO;
import com.wing.product.model.response.WarehouseProductionSchedulingPlanVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface WarehouseProductionSchedulingPlanDao extends BaseMapper<WarehouseProductionSchedulingPlan> {

    List<WarehouseProductionSchedulingPlanVO> list4app(@Param("page") Page<WarehouseProductionOrderVO> page, @Param("params") Map<String, Object> params);

    WarehouseProductionSchedulingPlanVO selectProductionSchedulingPlanDetail(@Param("id") String id);
}
